package cn.itcast.zt;

import lombok.*;

import java.io.Serializable;

/**
 * 说明 @EqualsAndHashCode 默认实现没有使用父类属性。需要手动设置 callSuper 开关为 true，来覆盖这种默认行为
 * create by zhangtian105 on 2021/3/18
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class Student extends Person implements Serializable {
    private static final long serialVersionUID = -6290367194938486895L;
    private String stuId ;
}
